package com.zdy.hibernate.entity;

import java.util.HashSet;
import java.util.Set;



public class Admin {
    private int id;
    private String loginName;
    private String loginPwd;
    private Set fs = new HashSet();

    public Admin() {
    }

    public Set getFs() {
        return fs;
    }

    public void setFs(Set fs) {
        this.fs = fs;
    }

    public Admin(String loginName, String loginPwd) {
        this.loginName = loginName;
        this.loginPwd = loginPwd;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    @Override
    public String toString() {
        return "admin{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                '}';
    }
}
